//
//  OcrPlatformView.h
//  ocr_plugin
//
//  Created by apple on 2021/9/15.
//

#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>
#import "OcrView.h"

NS_ASSUME_NONNULL_BEGIN

@interface OcrPlatformView : NSObject<FlutterPlatformView>

@property (strong,nonatomic)FlutterMethodChannel * channel;
@property (strong,nonatomic)OcrView* ocrView;

-(instancetype) initWithFrame:(CGRect)frame
                       viewId:(int64_t)viewId
                    arguments:(id _Nullable)args
              binaryMessenger:(NSObject<FlutterBinaryMessenger>*) message;

@end

NS_ASSUME_NONNULL_END
